package com.demo.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.math.BigDecimal;

@Data
@TableName("product")
public class Product{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private BigDecimal price;

    private String name;
}